export default {
    type: "ssml-mark",
    elemToHtml: function (elem, childrenHtml) {
        // 使用普通对象解构，去除类型注解
        const { remark = "", alphabet = "", ph } = elem;
        const html = `<span
            data-w-e-type="ssml-mark"
            data-w-e-is-inline
            data-ow-remark="${remark}"
            data-ow-alphabet="${alphabet}"
            data-ow-ph="${ph}"
          >${childrenHtml}</span>`;
        return html;
    },
};
